import type { IForm, IFormItem } from '@/base-ui/form'
const formItems: IFormItem[] = [
  {
    type: 'input',
    key: 'name',
    label: '用户名',
    value: '',
    placeholder: '请输入用户名'
  },
  {
    type: 'input',
    label: '真实姓名',
    key: 'realname',
    value: '',
    placeholder: '请输入真实姓名'
  },
  {
    type: 'input',
    label: '电话号码',
    key: 'cellphone',
    value: '',
    placeholder: '请输入电话号码'
  },
  {
    type: 'select',
    label: '用户状态',
    key: 'enable',
    value: 1,
    placeholder: '请选择爱好',
    options: [
      { value: 1, label: '启用' },
      { value: 0, label: '禁用' }
    ]
  },
  {
    type: 'date',
    label: '创建时间',
    key: 'createAt',
    value: '',
    props: {
      startPlaceholder: '开始时间',
      endPlaceholder: '结束时间',
      placeholder: '请输入输入时间'
    }
  }
]
export const SearchFormConfig: IForm = {
  formItems
}
